<?php

class PageHome extends Page
{
	public function getHTML()
	{
		$html = $this->getHeaderHTML();

		$submitScript = new SubmitFormScript();
		$html .= $submitScript->getHTML();

		$html .= $this->getBodyTopHTML();
		$html .= $this->getHiddenVariables();

		$html .= "<h1>You are logged on - welcome " .$this->getUser()."</h1>\n";

		$aMenu = new MenuSNAP();
		$html .= $aMenu->getHTML();
		$html .= "<br>\n";

		$html .= "<h2>St Nicholas Activity Planning</h2>\n";
		$html .= "<p>Welcome to SNAP</p>\n";
		$html .= "<p>SNAP is an integrated database application for the management of St Nicholas Cathedral events and people</p>\n";
		$html .= "\n";
		$html .= "\n";


		$html .= $this->getBodyBottomHTML();
		return $html;
	}
}
?>